package RestTest;

/**
 * Created by xinxuchu on 2020/7/28.
 */
public class Regular {

    public static void main(String[] args) {
        String test = "张娜张[张\\\\\\张张\\";
//        System.out.println(test.replace("张娜",""));
//        System.out.println(test.replaceAll("张娜",""));
//        System.out.println(test.replaceAll("/",""));
        System.out.println(test.replaceAll("\\[",""));
        System.out.println(test.replaceAll("\\\\",""));


    }
}
